<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org">
<head>
    <title>主页</title>
</head>
<body>
登录成功！

<form th:action="@{/logout2}" action="/logout2" method="post">
    <input type="submit" value="退出系统"/>
</form>
</body>
</html>